<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>学生信息</title>
</head>
<body>

<a href="/student/Login/studentOut">退出账号</a>

<table border="1">
    <tr>
        <th>学生名字</th>
        <th>学生密码</th>
        <th>学生性别</th>
        <th>学生年龄</th>
        <th>学生班级</th>
        <th>科目</th>
        <th>分数</th>
    </tr>

    <tr>
        <td>{$student.0.name}</td>
        <td>{$student.0.password}</td>
        <td>{$student.0.sex}</td>
        <td>{$student.0.age}</td>
        <td>{$student.0.cls_name}</td>
        <td></td>
        <td></td>
        {foreach($student as $key=>$value)}
        <tr>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
            <td>{$value.c_name}</td>
            <td>{$value.achievement}</td>
        </tr>
    {/foreach}
    </tr>

</table>



</body>
</html>